package juc.queue;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;

public class LinkedBlockingQueueTest {

    public static void main(String[] args) {
        BlockingQueue<Object> blockingQueue = new LinkedBlockingQueue<>(2);
        blockingQueue.add(1);
        blockingQueue.add(2);
        blockingQueue.add(3);
    }

}
